Package com.cisco.pt.ipc.sim.pdu.impl
Class Pop3HeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.Pop3HeaderImpl
- All Implemented Interfaces:
IPCData,Header,Pdu,Pop3Header,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Pop3HeaderTypeprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getMails()getName()getUser()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetHeaderType(Pop3HeaderType headerType) voidvoidvoidvoidsetPassword(String password) voidsetStrPop3Server(String strPop3Server) voidsetStrSmtpServer(String strSmtpServer) voidMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
name
-
user
-
mailId
-
password
-
strSmtpServer
-
strPop3Server
-
mails
-
headerType
-
-
Constructor Details
-
Pop3HeaderImpl
public Pop3HeaderImpl()
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePop3Header- Returns:
- String Returns a String
-
setName
- Specified by:
setNamein interfacePop3Header- Parameters:
name- Takes in a parameter of name
-
getUser
- Specified by:
getUserin interfacePop3Header- Returns:
- String Returns a String
-
setUser
- Specified by:
setUserin interfacePop3Header- Parameters:
user- Takes in a parameter of user
-
getMailId
- Specified by:
getMailIdin interfacePop3Header- Returns:
- String Returns a String
-
setMailId
- Specified by:
setMailIdin interfacePop3Header- Parameters:
mailId- Takes in a parameter of mailId
-
getPassword
- Specified by:
getPasswordin interfacePop3Header- Returns:
- String Returns a String
-
setPassword
- Specified by:
setPasswordin interfacePop3Header- Parameters:
password- Takes in a parameter of password
-
getStrSmtpServer
- Specified by:
getStrSmtpServerin interfacePop3Header- Returns:
- String Returns a String
-
setStrSmtpServer
- Specified by:
setStrSmtpServerin interfacePop3Header- Parameters:
strSmtpServer- Takes in a parameter of strSmtpServer
-
getStrPop3Server
- Specified by:
getStrPop3Serverin interfacePop3Header- Returns:
- String Returns a String
-
setStrPop3Server
- Specified by:
setStrPop3Serverin interfacePop3Header- Parameters:
strPop3Server- Takes in a parameter of strPop3Server
-
getMails
- Specified by:
getMailsin interfacePop3Header- Returns:
- List<Mail> Returns a List<Mail>
-
setMails
- Specified by:
setMailsin interfacePop3Header- Parameters:
mails- Takes in a parameter of mails
-
getHeaderType
- Specified by:
getHeaderTypein interfacePop3Header- Returns:
- Pop3HeaderType Returns a Pop3HeaderType
-
setHeaderType
- Specified by:
setHeaderTypein interfacePop3Header- Parameters:
headerType- Takes in a parameter of headerType
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-